method ReplSession.[Symbol.asyncDispose]
ReplSession.[Symbol.asyncDispose](): Promise<void>

Closes the session at the end of an await using block.

Return Type

Promise<void>

Usage

import { type ReplSession } from "lib/repl/session.ts";